package org.libl.service.student;

import org.libl.domain.PageBean;
import org.libl.domain.Student;

import java.util.List;

public interface StudentService {

    List<Student> findAll();

    /**
     * 封装每页的分页数据到PageBean
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageBean<Student> findPageByCurrentPage(Integer currentPage, Integer pageSize);
}
